:root {
    --red: hsl(0, 78%, 62%);
    --cyan: hsl(180, 62%, 55%);
    --orange: hsl(34, 97%, 64%);
    --blue: hsl(212, 86%, 64%);
    --varyDarkBlue: hsl(234, 12%, 34%);
    --grayishBlue: hsl(229, 6%, 66%);
    --veryLightGray: hsl(0, 0%, 98%);
    --green: rgb(41, 120, 10);
    --purple: rgb(255, 0, 255);
    --weight1: 200;
    --weight2: 400;
    --weight3: 600;
}

body {
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    background-color: var(--veryLightGray);
    overflow-x: hidden;
}

body::-webkit-scrollbar {
    display: none;
}

.attribution {
    font-size: 11px;
    text-align: center;
}

.attribution a {
    color: hsl(228, 45%, 44%);
}

h1:first-of-type {
    font-weight: var(--weight3);
    color: var(--varyDarkBlue);

}

h1:last-of-type {
    color: var(--varyDarkBlue);
}

.row1-container a {
    color: inherit;
    text-decoration: none;
}

.row2-container a {
    color: inherit;
    text-decoration: none;
}



@media (max-width: 400px) {
    h1 {
        font-size: 1.5rem;
    }

    .row2-container {
        margin-bottom: 20%;
    }
}

.header {
    text-align: center;
    line-height: 0.8;
    margin-bottom: 36px;
    margin-top: 32px;
    font-size: x-large;
}

.header p {
    margin: 0 auto;
    line-height: 2;
    color: var(--grayishBlue);
}


.box p {
    color: var(--grayishBlue);
}

.box {
    border-radius: 5px;
    box-shadow: 0px 30px 40px -20px var(--grayishBlue);
    padding: 30px;
    margin: 20px;
    height: 150px;
    text-align: center;
}

.box img {
    align-items: center;
}

img {
    height: 50px;
    width: 50px;
}

@media (max-width: 450px) {
    .box {
        height: 200px;
    }

    .row2-container {
        margin-bottom: 18%;
    }
}

@media (max-width: 950px) and (min-width: 450px) {
    .box {
        text-align: center;
        height: 180px;
    }

    .row2-container {
        margin-bottom: 10%;
    }
}

.cyan {
    border-top: 3px solid var(--cyan);
}

.red {
    border-top: 3px solid var(--red);
}

.blue {
    border-top: 3px solid var(--blue);
}

.orange {
    border-top: 3px solid var(--orange);
}

.green {
    border-top: 3px solid var(--green);
}

.purple {
    border-top: 3px solid var(--purple);
}

h2 {
    color: var(--varyDarkBlue);
    font-weight: var(--weight3);
}

footer {
    position: relative;
    bottom: 0px;
    text-align: center;
    width: 100%;
    padding: 2% 2% 2% 2%;
    font-size: 15px;
}

.sage {
    text-decoration: none;
    color: black;
}

@media (min-width: 950px) {
    .row1-container {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .row2-container {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 18%;
    }

    .row1-container a {
        color: inherit;
        text-decoration: none;
    }

    .cyan a:hover {
        filter: drop-shadow(2px 2px 5px rgb(64, 169, 169));
    }

    .red a:hover {
        filter: drop-shadow(2px 2px 5px rgb(235, 63, 6));
    }

    .blue a:hover {
        filter: drop-shadow(2px 2px 5px rgb(0, 72, 255));
    }

    .orange a:hover {
        filter: drop-shadow(2px 2px 5px rgb(255, 153, 0));
    }

    .green a:hover {
        filter: drop-shadow(2px 2px 5px rgb(0, 255, 89));
    }

    .purple a:hover {
        filter: drop-shadow(2px 2px 5px rgb(255, 0, 255));
    }

    .row2-container a {
        color: inherit;
        text-decoration: none;
    }

    .box-down {
        position: relative;
        top: 150px;
    }

    .box {
        width: 20%;

    }

    .header p {
        width: 30%;
    }

}